﻿#include <iostream>
#include <thread>

void task() {
    std::cout << "Running in thread ID: " << std::this_thread::get_id() << std::endl;
}

int main() {
    std::thread t(task);
    t.join();
    std::cout << "Main thread ID: " << std::this_thread::get_id() << std::endl;
    return 0;
}
